package gui.estudiante;

import java.awt.Frame;
import java.awt.BorderLayout;
import javax.swing.JDialog;

public class DialogoModificarCalificacion extends JDialog {

	private static final long serialVersionUID = 1L;
	private PanelModificarCalificacion panelModificarCalificacion = null;
	private static DialogoModificarCalificacion instancia = null;

	public static DialogoModificarCalificacion getInstancia() {
		if (instancia == null) {
			instancia = new DialogoModificarCalificacion(null,
					"Panel Modificar Calificacion");
		}
		return instancia;
	}

	/**
	 * @param owner
	 */
	private DialogoModificarCalificacion(Frame owner, String titulo) {
		super(owner);
		initialize();
	}

	/**
	 * This method initializes this
	 * 
	 * @return void
	 */
	private void initialize() {
		this.setResizable(false);
		this.setLocationRelativeTo(null);
		this.setModal(true);
		this.setSize(399, 432);
		this.setContentPane(getPanelModificarCalificacion());
		this.setLocationRelativeTo(null);
	}

	/**
	 * This method initializes jContentPane
	 * 
	 * @return javax.swing.JPanel
	 */
	private PanelModificarCalificacion getPanelModificarCalificacion() {
		if (panelModificarCalificacion == null) {
			panelModificarCalificacion = PanelModificarCalificacion
					.getInstancia();
			panelModificarCalificacion.setLayout(new BorderLayout());
		}
		return panelModificarCalificacion;
	}

}
